<template>
  <div>
    <Header></Header>
    <!-- 路由出口 -->
    <router-view></router-view>
    <Footer v-show="$route.meta.showFooter"></Footer>
  </div>
</template>
<script>
import Header from './components/Header'
import Footer from './components/Footer'
export default {
  name: 'App',
  components: { Header, Footer },
  data() {
    return {}
  },
  watch: {},
  computed: {},
  created() {},
  mounted() {
    //获取分类数据
    this.$store.dispatch('getCategoryList')
  },
  methods: {},
}
</script>
<style lang="less" scoped></style>
